Loading...
 

CX_PRINTER - Printer classes

CX_PRINTER

Class hierarchy
Description:

This class represents a printer in the machine. The instances of this class can be made persistent using CX_PRINTER_MANAGER or using the CreatePersObject command.

Code example:
GetManager(PRINTER) Call(GetInstalledPrinters) iterate(UNSAFE) { Call(GetName) Attention(, INFO) }

List of methods (MDI)
Function MA* Parameters Return Brief description
GetDefaultPageProperties OBJECT
GetDevice STRING Returns the device name
GetDriver STRING Returns the name of the printer driver
GetName STRING Returns the printer name
GetPort STRING Returns the port name
IsBusy INTEGER
SelectPrinterProperties OBJECT, OBJECT VECTOR<object> Displays dialog with printer properties
SetOutputToFile STRING STRING Redirects the print output to a file
RawPrint
193004
STRING, STRING INTEGER Sends a file directly to the printer
ClassFilter STRING, INTEGER OBJECT This object, if it corresponds to a certain class
ConditionedFilter STRING OBJECT
ConditionedFilter2 OBJECT OBJECT
Deleted INTEGER Checks whether the object was logically deleted
Description STRING
GetDomain INTEGER Domain of this object
GetSiblings COLLECTION All siblings of this object
GetSiblings2 COLLECTION All siblings of this object
GetSlotEntries VECTOR<object>
LastUpdate OBJECT Returns the date and time of the last write access
LastUser INTEGER Returns the user who last had write access to the object.
link OBJECT Inserts itself into the list of objects with validity from the object passed as a parameter.
NextValidObject OBJECT Determines the object whose validity begins after the time when the validity of this object begins
PreviousValidObject OBJECT Determines the object whose validity ends before the time at which the validity of this object ends.
RestrictedValidity * Checks whether the scope is restricted or not.
SetDomain INTEGER, INTEGER Set domain
ShortName STRING
Siblings *
SpanDateValidity *
UniqueID STRING
Unlink Removes itself from the list of objects with validity
Unlink2 Remove this object from the list of objects with validity
Valid OBJECT INTEGER Checks whether the object is valid at the given time.
ValidSince OBJECT Returns the start of the validity period in the form of a CX_TERM object.
ValidToday INTEGER Checks whether the object is valid at the current time (validity date)
ValidUntil OBJECT Returns the end of the validity period in the form of a CX_TERM object
VerifySiblings INTEGER Check ring of exchange objects

* MA = Member Access function,
grey background = inherited function

Data directory (DDI)
Data field Type Reference class I* Brief description
driverName STRING Name of the printer driver
printerName STRING Printer name
serverName STRING Name of the server that controls the printer. For a local printer, this variable is set to NULL.
shareName STRING Release name

* I = Indexable data field,
grey background = inherited data field

Use in AppsWH
Module Brief description
printole.mod Printing receipts